<template>
    <el-main>
        <ep-breadcrumb></ep-breadcrumb>
        <el-main class="ep-body">
         <epl-top-bar :datas="{formData:form,panel:panel}" showPerson personType="PERSON_ALL_EXACT" psTagType="PERSON_INJURY_QUERY">
                <ep-button size="small" name="刷新"></ep-button>
            </epl-top-bar>
			<epl-userMessage dataType="person" idCount="10" :panel="panel">
                
            </epl-userMessage>
        <el-form :model="form" ref="form" :rules="rules">
        <el-row :gutter="10">
            <ep-input colspan="8" label="人员编号" name="aac001" :property="form.aac001" placeholder=""
                        p="H" ></ep-input>
            <ep-input colspan="8" label="单位编码" name="aab001" :property="form.aab001" placeholder=""
                        p="H" ></ep-input>
            <ep-input colspan="8" label="组织ID" name="aaz001" :property="form.aaz001" placeholder=""
                        p="H" ></ep-input>
            <ep-input colspan="8" label="业务日志ID" name="aaz002" :property="form.aaz002" placeholder=""
                        p="H" ></ep-input>
            <ep-input colspan="8" label="组织名称" name="aab004" :property="form.aab004" placeholder=""
                        p="H" ></ep-input>
            <ep-input colspan="8" label="待遇开始年月" name="aic160" :property="form.aic160" placeholder=""
                        p="H" ></ep-input>
            <ep-input colspan="8" label="享受定期待遇人员id" name="aaz257" :property="form.aaz257"
                        p="H" ></ep-input></el-row>
        <el-collapse v-model="activeNames" >
        <el-collapse-item title="认定鉴定信息" name="1">
            <el-card class="ep-card">
                    <ep-input colspan="8" label="单位管理码"  name="aab999" :property="form.aab999" placeholder=""
                                  p="H"  ></ep-input>
                    <el-row :gutter="10">
                        <ep-input colspan="8" label="工伤认定书编号" name="alc011" :property="form.alc011" placeholder=""
                                  p="D"  ></ep-input>
                        <ep-input colspan="8" label="统一社会信用代码"  name="bab010" :property="form.bab010" placeholder=""
								p="D"  ></ep-input>
                        <ep-input colspan="8" label="单位名称" name="aab069" :property="form.aab069" placeholder=""
                                  p="D" ></ep-input>
                    </el-row>
                    <el-row :gutter="10">
                        <ep-date colspan="8" label="工伤发生时间" name="alc020"   :property="form.alc020" placeholder=""
                                  p="D" :datas="{formData:form,panel:panel}" type="date" format="yyyy-MM-dd"  ></ep-date>
						<ep-date colspan="8" label="工伤认定日期"  name="alc031"   :property="form.alc031" placeholder=""
                                  p="D" type="date" format="yyyy-MM-dd" :datas="{formData:form,panel:panel}" ></ep-date>
						<ep-select colspan="8" label="工伤认定结论" name="ala015" :property="form.ala015" placeholder=""
									p="D"  codetype="ALA015"  ></ep-select>  
                    </el-row>       
                    <el-row :gutter="10">
                        <ep-select colspan="8" label="伤害部位1" name="alc042" :property="form.alc042" placeholder=""
                                  p="D"  codetype="ALC042" ></ep-select>
                        <ep-select colspan="8" label="伤害部位2" name="alc043" :property="form.alc043" placeholder=""
                                  p="D"  codetype="ALC043" ></ep-select>
                        <ep-select colspan="8" label="伤害部位3" name="alc044" :property="form.alc044" placeholder=""
                                  p="D"  codetype="ALC044" ></ep-select></el-row>    
                    
                    <el-row :gutter="10">
                        <ep-select colspan="8" label="职业病名称1" name="ala017" :property="form.ala017" placeholder=""
                                  p="D"  codetype="ALA017"></ep-select>
                        <ep-date colspan="8" label="劳动能力鉴定日期"  name="alc034" :property="form.alc034" placeholder="" 
									p="D" type="date" format="yyyy-MM-dd"></ep-date>
                        <ep-select colspan="8" label="伤残等级" name="ala040" :property="form.ala040" placeholder=""
									p="D" codetype="ALA040"  ></ep-select>
                    </el-row>
                    <el-row :gutter="10">
                    <ep-select colspan="8" label="生活自理障碍等级" name="alc060" :property="form.alc060" placeholder=""
									p="D" codetype="ALC060"  ></ep-select>
                    <ep-date colspan="8" label="因工死亡日期"  name="alc040" :property="form.alc040" placeholder=""
									p="D" type="date" format="yyyy-MM-dd" ></ep-date>      
                    <ep-select colspan="8" label="老工伤标识" name="bae476" :property="form.bae476" placeholder=""
									p="D" codetype="BAE476"></ep-select>                       
                    </el-row>
                </el-card>
            </el-collapse-item>
        <el-collapse-item title="请输入变更后发放信息" name="2">
            <el-card class="ep-card">
                <el-row :gutter="10">
                        <ep-select colspan="8" label="新发放银行" name="aaz065" :property="form.aaz065" placeholder="请选择新发放银行"
                                   p="R" :datas="{formData: form}" codetype="AAZ065" rules="this.$rules.test_noBlank"></ep-select>
                        <ep-input  colspan="8" label="新银行账号" name="aae010" :property="form.aae010" placeholder="请输入新银行账号"
                                   p="R" :datas="{formData: form }" rules="this.$rules.test_noBlank"></ep-input >
                        <ep-input  colspan="8" label="新银行开户名" name="aae009" :property="form.aae009" placeholder="请输入新银行开户名"
                                   p="R" :datas="{formData: form }" rules="this.$rules.test_noBlank"></ep-input >
                    </el-row>
                    <el-row :gutter="10">
                        <epl-search-bank colspan="8" label="新开户行行号" name="aaf002" :property="form.aaf002" placeholder="请选择新开户行行号"
                                         p="R" :datas="{formData: form}" codetype="AAZ065" bankName="aaz065" show rules="this.$rules.test_noBlank"></epl-search-bank>
                        <ep-input  colspan="16" label="新开户银行名称" name="bac049" :property="form.bac049"
                                   p="R,D" :datas="{formData: form }" rules="this.$rules.test_noBlank"></ep-input >
                    </el-row>
                    <el-row>
                <ep-textarea :rows="3" label="备注" name="aae013" :property="form.aae013" placeholder="请输入备注"
                    p="E" :datas="{formData: form}"></ep-textarea>
                </el-row> 
        </el-card>
    </el-collapse-item> 
            <el-collapse-item title="请输入变更前发放银行" name="3">
                <el-card class="ep-card">
                        <el-row :gutter="10">
                        <ep-select colspan="8" label="原发放银行" name="aaz065_old" :property="form.aaz065_old"
                                   p="D"  codetype="AAZ065" ></ep-select>
                        <ep-input  colspan="8" label="原银行账号" name="aae010_old" :property="form.aae010_old"
                                   p="D"  ></ep-input >
                        <ep-input  colspan="8" label="原银行开户名" name="aae009_old" :property="form.aae009_old"
                                   p="D"  ></ep-input >
                    </el-row>
                    <el-row :gutter="10">
                        <ep-input colspan="8" label="原开户行行号" name="aaf002_old" :property="form.aaf002_old"
                                  p="D" ></ep-input>
                        <ep-input  colspan="16" label="原开户银行名称" name="bac049_old" :property="form.bac049_old"
                                   p="D" ></ep-input >
                    </el-row>
                </el-card>
            </el-collapse-item> 
        </el-collapse>
        </el-form>
         <el-card class="ep-card">
            
                <el-row type="flex" justify="center">
					<ep-saveButton id="doSave" top="20" type="primary" bottom="20" ref="save"  @formValidate="formValidate" 
                                    :validate="['form']"   :datas="{formData: form,panel:panel}" name="保存"></ep-saveButton>
	                <ep-button id="cal01" top="20" type="primary" api="doCalculate" bottom="20"
                    :datas="{formData: form}" name="计算"></ep-button>
                </el-row>
         </el-card>
                
        </el-main>
    </el-main>
</template>

<script src="../js/InjuryPayWayChangeJS.js"></script>
